<?php // $Id: php.php,v 1.5 2006/07/30 22:42:31 alex Exp $
// Обработчик простых php-шаблонов
function switch_template_php($MT_mod_name,$tmlfile,$content,$tmlvars,$branch_switcher,$tmlflags,$tmllists)
{
	//
	$MT_mod_cust['Switcher'] = $branch_switcher;
	$MT_mod_cust['content'] = $content;
	$MT_mod_cust['tmlvars'] = $tmlvars;
	$MT_mod_cust['tmlflags'] = $tmlflags;
	$MT_mod_cust['tmllists'] = $tmllists;
	ob_start();
	mst_modfileload($MT_mod_name,$tmlfile,$MT_mod_cust);
	$content = ob_get_contents();
	ob_end_clean();
	return $content;
}
?>